home *** CD-ROM | disk | FTP | other *** search
/ Amiga Plus 1995 #5 & #6 / Amiga Plus CD - 1995 - No. 5 and 6.iso / tex / macros / latex2e / amslatex / amsintsm.sty < prev    next >
Text File  |  1995-01-26  |  3KB  |  79 lines

  1. %% 
  2. %% This is file `amsintsm.sty', generated 
  3. %% on <1995/1/26> with the docstrip utility (2.2i).
  4. %% 
  5. %% The original source files were:
  6. %% 
  7. %% amsintsm.dtx 
  8. %%% ====================================================================
  9. %%%  @LaTeX-file{
  10. %%%     filename        = "amsintsm.dtx",
  11. %%%     version         = "1.2beta",
  12. %%%     date            = "1994/10/28",
  13. %%%     time            = "12:16:44 EDT",
  14. %%%     author          = "American Mathematical Society",
  15. %%%     copyright       = "Copyright (C) 1994 American Mathematical Society,
  16. %%%                        all rights reserved.  Copying of this file is
  17. %%%                        authorized only if either:
  18. %%%                        (1) you make absolutely no changes to your copy,
  19. %%%                        including name; OR
  20. %%%                        (2) if you do make changes, you first rename it
  21. %%%                        to some other name.",
  22. %%%     address         = "American Mathematical Society,
  23. %%%                        Technical Support,
  24. %%%                        Electronic Products and Services,
  25. %%%                        P. O. Box 6248,
  26. %%%                        Providence, RI 02940,
  27. %%%                        USA",
  28. %%%     telephone       = "401-455-4080 or (in the USA and Canada)
  29. %%%                        800-321-4AMS (321-4267)",
  30. %%%     FAX             = "401-331-3842",
  31. %%%     checksum        = "51467 355 1811 14705",
  32. %%%     email           = "tech-support@math.ams.org (Internet)",
  33. %%%     codetable       = "ISO/ASCII",
  34. %%%     keywords        = "latex, amslatex, ams-latex, integral, limits",
  35. %%%     supported       = "yes",
  36. %%%     abstract        = "This is part of the AMS-\LaTeX{} distribution.
  37. %%%                        It provides some commands for printing
  38. %%%                        integrals, sums, and derivatives.",
  39. %%%     docstring       = "The checksum field above contains a CRC-16
  40. %%%                        checksum as the first value, followed by the
  41. %%%                        equivalent of the standard UNIX wc (word
  42. %%%                        count) utility output of lines, words, and
  43. %%%                        characters.  This is produced by Robert
  44. %%%                        Solovay's checksum utility.",
  45. %%%  }
  46. %%% ====================================================================
  47. \NeedsTeXFormat{LaTeX2e}
  48. \ProvidesPackage{amsintsm}[1994/10/12 v1.2beta]
  49. \RequirePackage{amsgen}
  50. \@ifundefined{DOTSB}{%
  51.   \let\DOTSB\relax
  52.   \let\slimits@\displaylimits
  53.   \let\ilimits@\nolimits
  54.   \let\sum=\sum@
  55. }{}%
  56. \def\intsymbol{\intop\ilimits@}
  57. \let\sumsymbol=\sum
  58. \DeclareRobustCommand{\int}{\DOTSB
  59.   \new@ifnextchar[{\@integral}{\@integral[]}}
  60. \def\@integral[#1]{\@integrala#1,,,\@nil}
  61. \def\@integrala#1,#2,#3,#4\@nil#5{%
  62.  \intop\ilimits@
  63.    \@ifnotempty{#2}{_{#2}}%
  64.    \@ifnotempty{#3}{^{#3}}%
  65.    #5\@ifnotempty{#1}{\diffl{#1}}%
  66. }
  67. \DeclareRobustCommand{\diffl}[1]{\mathinner{d#1}}
  68. \DeclareRobustCommand{\pdiffl}[1]{\mathinner{\partial#1}}
  69. \DeclareRobustCommand{\deriv}[2]{\frac{\diffl{#1}}{\diffl{#2}}}
  70. \DeclareRobustCommand{\pderiv}[2]{\frac{\pdiffl{#1}}{\pdiffl{#2}}}
  71. \DeclareRobustCommand{\sum}{\DOTSB
  72.   \new@ifnextchar[{\@summation}{\@summation[]}}
  73. \def\@summation[#1]{\@summationa#1,,\@nil}
  74. \def\@summationa#1,#2,#3\@nil{\sumsymbol\slimits@
  75.   \@ifnotempty{#1}{_{#1}}\@ifnotempty{#2}{^{#2}}\mathinner{}}
  76. \endinput
  77. %% 
  78. %% End of file `amsintsm.sty'.
  79.